
/*#include <windows.h>
#include <iostream>

#include "MyWindow.h"
#include "ConsoleInput.h"

#include "globals.h"

using namespace std;

cSignal< int, float, float > click_signal;
cSignal< int, float, float > move_signal;
cSignal< int, float, float > release_signal;
cSignal< int, vector<unsigned char>& > key_press_signal;

LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {

	if( FireSignals( hWnd, message, wParam, click_signal, release_signal, move_signal ) )
	{
		//return DefWindowProc( hWnd, message, wParam, lParam );
	}

	return DefWindowProc(hWnd, message, wParam, lParam);
}

int WINAPI WinMain (HINSTANCE hInstance,
                    HINSTANCE hPrevInstance,
                    LPSTR lpCmdLine,
                    int iCmdShow)
{

	MyBaseWindow main_window( "MapEditor", 1024, 768, BLUR_BEHIND|FULL_SCR_ENABLED|RESIZABLE|MINIMIZABLE|CLOSABLE, WndProc );

	click_signal.Connect( main_window.click );
	move_signal.Connect( main_window.move );
	release_signal.Connect( main_window.release );

	Renderer::Init( &g_render_state );
	Renderer::SetVSync( true );

	g_renderer = new Renderer(800, 800);

	Renderer::CheckGLError("before InitUI");
	InitUI( hInstance );
	Renderer::CheckGLError("InitUI");

	main_window.Show();

	StartConsoleInput();

	BOOL bQuit = FALSE;
	MSG msg;

	while (!bQuit)
	{

		if (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE))
		{

			if (msg.message == WM_QUIT)
			{
				bQuit = TRUE;
			}
			else
			{
				TranslateMessage (&msg);
				DispatchMessage (&msg);
			}
		}
		else
		{

			Renderer::SwitchProgram(SCREEN_DRAW_PROGRAM);

			glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
			glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

			main_window.MakeCurrent();
			main_window.Draw();
			main_window.Apply();

		}
	}

	StopConsoleInput();

	//std::cin.get();
	return 0;
}
*/



